/***************************************************************************
 *   Copyright (C) 2011 by joker                                           *
 *   joker@pleiades.pet.cyric.tohoku.ac.jp                                 *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef SETMAN_H
#define SETMAN_H

#include "setManDlg.h"

QString const RSHDR="RS.";
int const OM_SAVE=1;
int const OM_LOAD=2;
int const OM_DELE=3;
int const OM_NOP=0;

class setManCls: public setManDlg
{
		Q_OBJECT
	public:
		setManCls ( QWidget *parent = 0, const char *name = 0 );
		~setManCls();
		void showMess();
		void setNameHistComp ( QStringList h, QStringList c );
		void getNameHistComp ( QStringList *h, QStringList *c );
		void saved();
		QString name;
		QString mess;
		int rc;

	signals:
		void saveSetting ( QString n );
		void loadSetting ( QString n );
		void deleSetting ( QString n );

	public slots:
		virtual void saveSlot();
		virtual void loadSlot();
		virtual void deleSlot();
		virtual void nameSlot();

	protected:
};

#endif
